function user_confirm(txtAlert) {
    if (window.confirm(txtAlert) == true) {
        return true;
    }
    return false;
}

function user_click($url) {
    window.location = $url;
}